%Figure S1
clear variables

load('FigS1_sample_timeseries.mat')

%% Figure S1

%CA
figure

scatter(CA_distance,CA_encounters,[],1:104); %104 days of data
hold on
plot(CA_f)
ylabel('Rate of Encounters')
xlabel('Change in Average Distance Traveled')
legend off

%FL
figure

scatter(FL_distance,FL_encounters,[],1:104);   
hold on
plot(FL_f)
ylabel('Rate of Encounters')
xlabel('Change in Average Distance Traveled')
legend off

%New York County (Manhattan), New York; fip code: 36061
figure

scatter(NYC_distance,NYC_encounters,[],1:104);   
hold on
plot(NYC_f)
ylim([0 6000])
ylabel('Rate of Encounters')
xlabel('Change in Average Distance Traveled')
legend off

